﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using CE.User;

public partial class user_logout : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {

        }

        if (Session[CE.Global.General.UserId] != null)
        {

            CE.Global.General.ClearAllSession(this.Page, "LOGOUT");

            Response.Redirect("~/");
        }
        else
        {
            Response.Redirect("~/");
        }


    }
}
